<!--
 * @Description: 
 * @Author: xiongkuobiao
 * @Date: 2023-02-07 10:18:54
 * @LastEditors: xiongkuobiao
 * @LastEditTime: 2023-02-07 12:01:12
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
  <script>
    var foo = 1;
    (function foo() {
      foo = 10;
      console.log(foo);
    })(); // -> ƒ foo() { foo = 10 ; console.log(foo) }
  </script>
</html>
